﻿﻿using System.Xml;
using StarTrek.Ship;
using StarTrek.World;

namespace StarTrek.Space
{
    public interface iSpaceItem
    {
        Quadrant Parent { get; set; }
        System.Guid SectorIdentifier { get; }
        bool isShipDocked();
        iShip DockedShip { get; set; }
        iShip PresentShip { get; set; }

        bool isDockable{ get;}
        bool isTravelable { get; }

        float CalculateDistance(iSpaceItem Target);
        float TerrainPenalty { get;}

        SpaceUnitInfo BuildInfo();
        iSpaceItem FromXml(XmlNode val);
    }
    public class SpaceUnitInfo { }
}
